package com.micro.ai.template.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.micro.ai.template.dto.request.AgentCreateRequest;
import com.micro.ai.template.dto.request.AgentUpdateRequest;
import com.micro.ai.template.dto.response.AgentDTO;

public interface AgentService {

    AgentDTO createAgent(String userId, String tenantId, AgentCreateRequest request);

    AgentDTO updateAgent(String userId, String tenantId, String agentId, AgentUpdateRequest request);

    void deleteAgent(String userId, String tenantId, String agentId);

    AgentDTO getAgentById(String agentId);

    Page<AgentDTO> listAgents(String tenantId, Integer pageNum, Integer pageSize, String status);

    Page<AgentDTO> getMyAgents(String userId, String tenantId, Integer pageNum, Integer pageSize);

    void healthCheck(String agentId);
}
